package com.yxj.dries.ui.my

import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import com.yxj.dries.model.User
import lombok.Data

/**
 * @author ZSY
 */
@Data
class MyViewModelKolin(savedStateHandle : SavedStateHandle) : ViewModel() {
    val userId : String = savedStateHandle["uid"] ?:
    throw IllegalArgumentException("missing user id")
    val user : User = TODO()
}